import {createStore} from 'vuex'
const store = createStore({
	state:{
		yzm:'',
		zt:0,
		user:{}
	},
	getters:{
		yzmget:(state)=>{
			return state.yzm
		},
		Getzt:state=>{
			return state.zt
		},
		getUser:state=>{
			return state.user
		}
	},
	mutations:{
		yzmset:(state,yzm)=>{
			state.yzm=yzm
		},
		Setzt:(state,zt)=>{
			state.zt=zt
		},
		setUser:(state,user)=>{
			state.user=user
		}
	}
})
export default store